<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Bootstrap Data</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for bootstrap {qruleset}"><tr><td>bootstrap {qruleset}</td><td align="right">R Documentation</td></tr></table>
<h2>Bootstrap Data</h2>


<h3>Description</h3>

<p>
Bootstrap given data.
</p>


<h3>Usage</h3>

<pre>
bootstrap(data, n)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>data</code></td>
<td>
a data set to bootstrap.</td></tr>
<tr valign="top"><td><code>n</code></td>
<td>
number of randomly chosen examples from the given dataset to return.</td></tr>
</table>

<h3>Details</h3>

<p>
The function returns bootstrapped data set as a data frame. The function uses <code>sample</code>   function to randomize results.
</p>


<h3>Examples</h3>

<pre>
## bootstrap iris data set, take 10 examples
bootstrap(iris, 10)
</pre>



<hr><div align="center">[Package <em>qruleset</em> version 1.0 <a href="00Index.html">Index]</a></div>

</body></html>
